//
//  RecommendModel.h
//  Kugou-OC
//
//  Created by BH on 16/6/3.
//  Copyright © 2016年 Sunny. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface RecommendCommonModel : NSObject

@property(nonatomic,strong)NSString *imgUrl;
@property(nonatomic,strong)NSString *title;
@property(nonatomic,strong)NSDictionary *extra;
@property(nonatomic,assign)NSInteger play_count;
@property(nonatomic,strong)NSString *specialname;
@property(nonatomic,strong)NSString *publishtime;
@property(nonatomic,strong)NSString *singername;
@property(nonatomic,strong)NSString *intro;
@property(nonatomic,strong)NSString *suid;
@property(nonatomic,strong)NSString *specialid;
@property(nonatomic,assign)NSInteger collectcount;
@property(nonatomic,strong)NSString *slid;
@property(nonatomic,assign)NSInteger type;
@property(nonatomic,assign)NSInteger songcount;

@end

@interface RecommendModel : NSObject

//banner-model
@property(nonatomic,strong)NSString *ad_online;
@property(nonatomic,strong)RecommendCommonModel *ad_model;

-(id)initWithAdsDict:(NSDictionary *)dict;

//个性化推荐
@property(nonatomic,strong)NSString *pr_from_hash;
@property(nonatomic,assign)BOOL pr_is_recommend;
@property(nonatomic,strong)RecommendCommonModel *pr_model;

-(id)initWithPersonalDict:(NSDictionary *)dict;

/**
 *  热门歌单 recommend
 */
@property(nonatomic,strong)NSString *rec_imgurl;
@property(nonatomic,strong)NSString *rec_title;
@property(nonatomic,strong)NSString *rec_id;
@property(nonatomic,assign)NSInteger rec_type;
@property(nonatomic,strong)NSString *rec_online;
@property(nonatomic,strong)RecommendCommonModel *rec_model;

-(id)initWithRecDict:(NSDictionary *)dict;

/**
 *  最新音乐-新歌首发 song
 */
@property(nonatomic,strong)NSString *son_filename;
@property(nonatomic,strong)NSString *son_songname;
@property(nonatomic,strong)NSString *son_sqhash;
@property(nonatomic,strong)NSString *son_hash;
@property(nonatomic,strong)NSString *son_mvhash;
@property(nonatomic,strong)NSString *son_privilege;
@property(nonatomic,strong)NSString *son_filesize;
@property(nonatomic,strong)NSString *son_addtime;
@property(nonatomic,assign)NSInteger son_bitrate;
@property(nonatomic,strong)NSString *son_320filesize;
@property(nonatomic,strong)NSString *son_accompany;
@property(nonatomic,assign)NSInteger son_isfirst;
@property(nonatomic,strong)NSString *son_singername;
@property(nonatomic,strong)NSString *son_sqfilesize;
@property(nonatomic,strong)NSString *son_singerimgurl;
@property(nonatomic,assign)NSInteger son_duration;
@property(nonatomic,strong)NSString *son_m4afilesize;
@property(nonatomic,strong)NSString *son_extname;
@property(nonatomic,strong)NSString *son_320hash;
@property(nonatomic,strong)NSString *son_sqprivilege;
@property(nonatomic,strong)NSString *son_intro;
@property(nonatomic,assign)NSInteger son_feetype;
@property(nonatomic,strong)NSString *son_albumid;

-(id)initWithSongDict:(NSDictionary *)dict;

/**
 *  MV歌单 vlist
 */
@property(nonatomic,strong)NSString *vli_des;
@property(nonatomic,strong)NSString *vli_publishtime;
@property(nonatomic,strong)NSString *vli_title;
@property(nonatomic,strong)NSString *vli_cate;
@property(nonatomic,strong)NSString *vli_vid;
@property(nonatomic,strong)NSString *vli_mobilebanner;
@property(nonatomic,assign)NSInteger vli_hotnum;
-(id)initWithVlistDict:(NSDictionary *)dict;

/**
 *  最新音乐-新碟上架 album
 */
@property(nonatomic,strong)NSString *alb_albumname;
@property(nonatomic,strong)NSString *alb_imgurl;
@property(nonatomic,strong)NSString *alb_intro;
@property(nonatomic,strong)NSString *alb_singerid;
@property(nonatomic,strong)NSString *alb_publishtime;
@property(nonatomic,strong)NSString *alb_singername;
@property(nonatomic,strong)NSString *alb_albumid;
@property(nonatomic,strong)NSString *alb_privilege;
-(id)initWithAlbumDict:(NSDictionary *)dict;

/**
 *  custom_special (场景歌单、主题歌单)
 */
@property(nonatomic,strong)NSString *cus_title;
@property(nonatomic,strong)NSString *cus_icon;
@property(nonatomic,strong)NSString *cus_id;
@property(nonatomic,strong)NSMutableArray *cus_special;
-(id)initWithCusDict:(NSDictionary *)dict;

/**
 *  header按钮
 */
@property(nonatomic,strong)RecommendCommonModel *ent_model;
-(id)initWithEntryDict:(NSDictionary *)dict;

/**
 *  精选专题 topic
 */
@property(nonatomic,strong)NSString *top_bannerhd;
@property(nonatomic,strong)NSString *top_id;
@property(nonatomic,strong)NSString *top_url;
@property(nonatomic,strong)NSString *top_picurl;
@property(nonatomic,strong)RecommendCommonModel *top_model;
-(id)initWithTopicDict:(NSDictionary *)dict;

+(instancetype)shareRecommend;

@end
